package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Data;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 电子证书配置
 */
@Data
@Document(collection = "caCertificateConfig")
public class CaCertificateConfig extends EntityBase {

    @Indexed
    private String certificateId;

    @Indexed
    private String activityId;

    //证书类型
    private String caType;

    private String activityName;

    /**
     * 证书名称
     */
    private String certificateName;

    private String caLevelCode;

    private String caLevelName;

    @Indexed
    private String templateId;

    private String templateName;

    //证书等级
    @Transient
    private CaActivityLevel [] caActivityLevel;

}
